package com.onlyMe.config.tiles.tile
{
	import com.onlyMe.config.BaseNode;
	
	public final class TileNode extends BaseNode
	{
		private var _id:int;
		private var _type:String;
		private var _walkable:Boolean;
		
		public function TileNode()
		{
		}
		
		override protected function extract(node:XML):void
		{
			_id = node.@id;
			_type = node.localName() as String;
			_walkable = boolean(node.@walkable);
		}
		
		public function get id():int
		{
			return _id;
		}

		public function get type():String
		{
			return _type;
		}

		public function get walkable():Boolean
		{
			return _walkable;
		}

	}
}